ドキュメントにストリームベースの添付ファイルを追加します。
シンタックス
'宣言
Public Overloads Sub AddAttachment( _
ByVal As System.String, _
ByVal () As System.Byte, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Integer, _
ByVal As AttachmentIcon, _
ByVal As System.Drawing.Color _
)
public void AddAttachment(
System.string ,
System.byte[] ,
System.Drawing.RectangleF ,
System.int ,
AttachmentIcon ,
System.Drawing.Color
)
パラメータ
- attachmentName
- 添付ファイルの隣に表示される名前。
- attachmentData
- 添付ファイルデータを含むバイト配列。
- rc
- 添付ファイルが含まれるページの領域(ページの左上隅からのポイント数)。
- page
- 添付ファイルが含まれるページのインデックス。
- icon
- 添付ファイルアイコンの外観を決定する AttachmentIcon 値。
- iconColor
- 添付ファイルアイコンの色。
参照